package org.ngbx.demo.flink.dd.statistics;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceState {
    private String id;

    /**
     * 状态: 0:关机   1:生产中  2:待机
     */
    private Integer status;

    /**
     * 发生时间
     */
    private Long updateTime;

    @Override
    public String toString() {
        return "设备状态：{" +
                "id='" + id + '\'' +
                ", status='" + status +
                ", updateTime='" + updateTime +
                '\'' +
                '}';
    }
}
